{% extends 'AdminBundle::layout.html.twig' %}

    {% block title %}培训消息详情{% endblock %}

    {% block css %}

    {% endblock %}


    {% block top %}
        {#{{ dump() }}#}
        {{ parent() }}
    {% endblock %}


    {% block left_body_top %}
        {{ parent() }}
    {% endblock %}

    {% block left_body %}
        {{ parent() }}
    {% endblock %}

    {% block right_body %}
    <div class="page-header">
        <div class="page-right-top">
            <div class="right-top">
                <span class="right-title">消息通知</span>
            </div>
            <div class="top-nav">培训通知</div>
            <span class="r-arrow top-r-arrow"></span>
            <div class="top-nav top-nav-active">通知详情</div>
        </div>
        <div class="main-content">
            <div class="mes-content">
                <div class="d-tar-title">培训编号{{ data.data.training_info.training_no }}</div>
                <div class="train-list-box">
                    <div class="train-list-lf fl">
                        <div class="train-list-left fl">培训标题</div>
                        <div class="train-list-left fl">标题关键词</div>
                        <div class="train-list-left fl">培训日期</div>
                        <div class="train-list-left fl">培训机构</div>
                        <div class="train-list-left fl">机构关键词</div>
                        <div class="train-list-left fl">培训师</div>
                        <div class="train-list-left fl">培训内容</div>

                    </div>


                    <div class="train-list-rt fl">
                        <div class="train-list-right">{{ data.data.title|default('') }}</div>
                        <div class="train-list-right">{{ data.data.training_info.training_title_keyword|default('') }}</div>
                        <div class="train-list-right">{{ data.data.training_info.training_start_at|default('') }}至{{ data.data.training_info.training_end_at|default('') }}</div>
                        <div class="train-list-right">{{ data.data.training_info.training_agency|default('') }}</div>
                        <div class="train-list-right">{{ data.data.training_info.training_agency_keyword|default('') }}</div>
                        <div class="train-list-right">{{ data.data.training_info.trainer|default('') }}</div>
                        <div style="padding-top:8px;">
                            {{ data.data.content|default('')|raw }}
                        </div>
                    </div>
                    <div class="clearfix">
                        <a class="download-box" href="{{ asset('')~data.data.path|default('') }}">
                            <div class="down-text fl">附件：{{ data.data.origin_name }}</div>
                            <span class="down-icon"></span>
                        </a>
                    </div>

                    <a class="train-list-btn" href="{{ path('article_training_read_list',{"id":data.data.id,"type":6,"page":1}) }}">培训人员列表</a>
                </div>
            </div>
        </div>
    </div>

    {% endblock %}



{% block box %}
{% endblock %}

{% block javascript %}
<script type="text/javascript">
    $(function () {
        SidebarHighlighting('2');
        SonSidebar('2', '2');

        // 计算内容宽度
        $(".train-list-rt").width(parseFloat($(".train-list-box").width()) - parseFloat(114));
    })
</script>
{% endblock %}